package com.glc.hms.system.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.glc.hms.system.entity.SysUser;
import com.glc.hms.system.model.param.UpdatePasswordParam;

import java.util.Map;

/**
 * <p>
 * 系统用户 服务类
 * </p>
 *
 * @author Santa
 * @since 2019-11-14
 */
public interface ISysUserService extends IService<SysUser> {

    //UserLoginVO login(String loginName, String password);
    Page<Map<String, Object>> queryUserByPage(String type,String keyWords);

    void addUser(SysUser addParam);

    SysUser getUserByLoginName(String loginName);

    Map<String, Object> getOnLineUserList();

    void kickoutOnlineUser(String sessionId);

    void kickoutOnlineUserMieba();

    void updatePassword(UpdatePasswordParam passwordParam);
}
